package com.jichangxiu.dynamic.test.service;

import com.jichangxiu.dynamic.test.entity.User;

import java.util.List;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.Future;

/**
 * @author Jcx
 * @date 2022/11/26 21:23
 */
public interface UserService extends BaseService<User> {


    public Future<Boolean> saveUser(User user);

    /**
     * 查询用户列表
     *
     * @return 用户列表
     */
    public CompletableFuture<List<User>> myList();

}
